
export default {
  data() {
    return {
      fieldList: [
        { name: '考核品类', field: 'field1' },
        { name: '绩效编号', field: 'field2' },
        { name: '绩效考核名称', field: 'field3' },
        { name: '考核总数', field: 'field4' }
      ],
      
      columns: [
        { title: '序号', width: 50, customRender: (text, record, index) => `${index + 1}`, align: 'center' },
        { title: '考核时间范围', dataIndex: 'examineTime', width: 200, scopedSlots: { customRender: 'examineTime' }, ellipsis: true },
        { title: '考核品类', dataIndex: 'examineCategory', width: 150, ellipsis: true },
        { title: '绩效考核名称', dataIndex: 'examineName', width: 220, ellipsis: true },
        { title: '绩效编号', dataIndex: 'examineCode', width: 150, ellipsis: true },
        { title: '创建时间', dataIndex: 'createTime', width: 120, scopedSlots: { customRender: 'date' }, ellipsis: true },
        { title: '考核总数', dataIndex: 'examineNum', width: 120, ellipsis: true },
        { title: '待考核数量', dataIndex: 'examineWaitNum', width: 120, ellipsis: true },
        { title: '已考核数量', dataIndex: 'examineAlreadyNum', width: 120, ellipsis: true },
        { title: 'A等级', dataIndex: 'aLevel', width: 100, ellipsis: true },
        { title: 'B等级', dataIndex: 'bLevel', width: 100, ellipsis: true },
        { title: 'C等级', dataIndex: 'cLevel', width: 100, ellipsis: true },
        { title: 'D等级', dataIndex: 'dLevel', width: 100, ellipsis: true },
        { title: '操作', dataIndex: 'action', width: 120, align: 'center', fixed: 'right', scopedSlots: { customRender: 'action' } }
      ]
    }
  }
}